Public Class midgv
    Inherits System.Windows.Forms.DataGridView

    Protected Overrides Sub OnColumnAdded(ByVal e As System.Windows.Forms.DataGridViewColumnEventArgs)
        MyBase.OnColumnAdded(e)
        e.Column.SortMode = Windows.Forms.DataGridViewColumnSortMode.NotSortable
    End Sub


End Class
